package com.woniuxy.charin.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName invitation_info
 */
@TableName(value ="invitation_info")
@Data
public class InvitationInfo implements Serializable {
    private Integer id;

    private String invitationCode;//邀请码

    private String customersName;//用户名

    private String phoneNumber;//电话号码

    private String invitedUsers;//被邀请人

    private BigDecimal invitationIncome;//邀请收益
    @TableField(fill = FieldFill.INSERT)
    private Date creationTime;//创建时间

    private static final long serialVersionUID = 1L;
}